package com.example.fileoperate;/*
 * @Auther:hantianbing
 * @Date:2023/7/27
 * @Description:
 */

import com.example.fileoperate.operate.OperateTwoFile;
import com.example.fileoperate.operate.impl.CompareTwoDependencyVersion;
import com.example.fileoperate.readfile.ReadFile;

import java.io.File;
import java.util.List;

/**
 * @ClassName Main
 * @Description
 * @Author hantianbing
 * @Date 2023/7/27 10:56
 **/
public class Main {
    public static void main(String[] args) {
        String dir = "D:/boss/0711_第三方组件包更新/0711_第三方组件包更新";
        String dir2 = "D:/1111aBosssoft/new/saas-electronic-voucher/alone-voucher-resources/alone-voucher-server/target/dependency";
        List<File> files1 = ReadFile.readFilesOneLevelByDir(dir);
        List<File> files2 = ReadFile.readFilesOneLevelByDir(dir2);
        OperateTwoFile operateTwoFile = new CompareTwoDependencyVersion();
        operateTwoFile.opreateFilesNoAffect(files1, files2);
    }
}
